package projectsys.core.global.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import projectsys.core.global.mapper.LoginMapper;
import projectsys.core.global.service.LoginManager;

@Service("LoginManager")
public class LoginManagerImpl implements LoginManager{
	
	@Autowired
	LoginMapper loginMapper;

	@Override
	public List<Map> queryUserInfo(Map map) {
		List<Map>  reList= loginMapper.queryUser(map);
		return reList;
	}

	@Override
	public List<Map> queryPopedom(Map map) {
		List<Map> reList = loginMapper.queryDom(map);
		return reList;
	}

	@Override
	public List<Map> getUserRole(Map map) {
		List<Map> reList = loginMapper.queryUserRole(map);
		return reList;
	}

	@Override
	public void insertUserLog(Map map) {
		loginMapper.insertUserLog(map);
	}

}
